// 先导入变量
@use './_variables' as *;
// 主题相关变量
$theme-colors: (
  'primary': $primary-color,
  'success': $success-color,
  'warning': $warning-color,
  'danger': $danger-color,
  'info': $info-color
);

// 生成主题相关的工具类
@each $name, $color in $theme-colors {
  .text-#{$name} {
    color: $color;
  }
  
  .bg-#{$name} {
    background-color: $color;
  }
  
  .border-#{$name} {
    border-color: $color;
  }
  
  .hover-#{$name} {
    &:hover {
      color: $color;
    }
  }
}

// 主页特殊样式
.home-section {
  padding: $spacing-extra-large 0;
  
  &-title {
    font-size: $font-size-extra-large;
    color: $text-primary;
    text-align: center;
    margin-bottom: $spacing-extra-large;
  }
  
  &-subtitle {
    font-size: $font-size-medium;
    color: $text-secondary;
    text-align: center;
    margin-bottom: $spacing-large;
  }
}

// 版权服务卡片样式
.service-card {
  background: $background-color-white;
  border-radius: $border-radius-base;
  padding: $spacing-large;
  transition: $transition-base;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: $box-shadow-base;
  }
} 